-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#9025 add caching options to wms background settings #9213
#9025 add caching options to wms background settings #9213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a couple of issues, not sure they are bugs or desired behavior:
- I enabled for natural earth layer on gs-stable this, and I notice this warning.
Anyway there is no way to uncheck this localization... Should we remove also this check, for instance? - The style check has been removed because there is no way to select it, right? The same issue regards the tile size anyway. And a way to configure these option(s) in the backgrounds should be good (especially tileSize for performance). Evaluate with @tdipisa this.
- This may be caused a GeoServer bug, because of the space in the layer name, not sure. Trying to add as background
CM BaseMap
(first) and refreshing the tile to check if it is present, I have an error.
<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows https://gs-stable.geosolutionsgroup.com/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>No such layer or layer group 'CM%20BaseMap'</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
I would like to check one by one above points with you @allyoucanmap |
This is due to the fact that the mentioned layer has been added from the catalog tool where Enable localized styles is active
This as well as the above are both connected and they should be part of a separated issue to improve the overall tool and so provide the layer settings (or part of them but using the same tool) also for WMS backgrounds. This issue needs some work also for design and cannot be done as part of this PR. I'm going to open a new issue for the future (see #9218)
This point I think is the only one that need to be checked @allyoucanmap |
The cache check tries to create the wmts url using the workspace path if this is available. It seems that it is not possible to request workspace specific capabilities in GeoSever when a layer name contains a space. error: |
Can you approve then @offtherailz? |
@ElenaGallo please test in DEV with priority. |
Test passed. |
…scales (#9222) * #9025 WMS caching with custom scales (projection resolutions strategy) (#9168) * Fix #9025 WMS caching with custom scales (custom resolutions strategy from WMTS) (#9184) --------- Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com> * Fix #9025 Available tile grids popup always reports mismatch in geostories and dashboards (#9196) * Fix #9193 Add a cache options checks/info also for default WMS tile grid (#9195) * Fix #9193 failing test (#9207) * #9025 add caching options to wms background settings (#9213) * fix failing tests --------- Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>
Description
This PR includes following changes:
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#9025
What is the new behavior?
The wms background settings dialog shows the cache options
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information